#include "pb_log.h"
#include <stdarg.h>
#include <stdio.h>
void error_log(const char *fmt,...)
{
    va_list arg_ptr;
    va_start(arg_ptr,fmt);
    char buf[65535];
#ifdef WIN32
    _vsnprintf_s(buf,sizeof(buf),fmt,arg_ptr);
#else
    vsnprintf(buf,sizeof(buf),fmt,arg_ptr);
#endif
    printf("%s\n",buf);
}
